﻿/**************下拉框菜单**************/
ul.nav {
    width: 60em;
    font-size:13px;
}

ul.nav, ul.nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    overflow: hidden;
    border: 1px solid #486B02;
    background-color: #8BD400;
}

ul.nav li {
    float: left;
    width: 10em;
}

/*默认时候列表项在显示器外*/
ul.nav li ul {
    position: absolute;
    width: 10em;
    left: -999em;
    margin-left: -1px;
}

/*悬停的时候才显示出来*/
.nav li:hover ul {
    left: auto;
}


/*添加块和翻转样式*/
ul.nav a {
    display: block;
    color: #2B3F00;
    text-decoration: none;
    padding: 0.3em 1em;
    border-right: 1px solid #486B02;
    border-left: 1px solid #E4FFD3;
}

ul.nav li li a {
    border-top: 1px solid #E4FFD3;
    border-bottom: 1px solid #486B02;
    border-left: 0;
    border-right: 0;
}

ul.nav li:last-child a {
    border-right: 0;
    border-bottom: 0;
}

ul a:hover,
ul a:focus {
    color: #E4FFD3;
    background-color: #6DA203;
}

